﻿<div bsModal #itemTimelineModal="bs-modal" class="modal fade" tabindex="-1" role="dialog"
    aria-labelledby="itemTimelineModal" aria-hidden="true" [config]="{ backdrop: 'static' }">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title"><span>变更记录</span></h4>
                <button type="button" class="close" (click)="close()" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                    <p-table #dataTable [value]="items" emptyMessage="没有数据">
                        <ng-template pTemplate="header">
                            <tr>
                                <th>更改单号</th>
                                <th>历史文件名称</th>
                                <th>历史图号</th>
                                <th>操作人</th>
                                <th>操作时间</th>
                            </tr>
                        </ng-template>
                        <ng-template pTemplate="body" let-record>
                            <tr>
                                <td>{{ record.alterationCode }}</td>
                                <td>{{ record.fileName }} </td>
                                <td>{{ record.drawingCode }} </td>
                                <td>{{record.receiveUserName}}</td>
                                <td>{{ record.receiveTime | momentFormat:'YYYY-MM-DD HH:mm'}} </td>
                            </tr>
                        </ng-template>
                    </p-table>
                </div>
            </div>
        </div>
    </div>
</div>